Skip to content

feat(popups): server popups over the root navigator, configurable UI theme - #22

Merged
Xyzcancer merged 2 commits into
masterfrom
feature/inapp-popups
Oct 20, 2026
Merged

Xyzcancer merged 2 commits into
masterfrom
feature/inapp-popups

Conversation

@Xyzcancer

@Xyzcancer Xyzcancer commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor
  • Server popups: the native SDKs hand each popup over to Dart, which shows it with PersonalizationInAppPopup over the app's root navigator — after the delay set in the admin, one at a time, a repeat within a minute dropped. onPopup takes them instead; tracking.popupShown and presentPopup go with it.
  • UI theme: PersonalizationTheme.configure (brand colours per scheme, font, radii) and PersonalizationTheme.mode (follow the app or fixed light/dark), in MaterialApp and CupertinoApp alike; the ThemeExtension route is gone.
  • Public: InAppPopup, PersonalizationInAppPopup and the theme types; the rest of the kit stays internal.
  • Example: a Popups card with a test popup per position and the theme switch.

Android SDK v2.45.0: popups shown on launch reach Android (rees46/android-sdk#226).

@Xyzcancer
Xyzcancer merged commit bf26404 into master Oct 20, 2026
2 of 3 checks passed
@Xyzcancer
Xyzcancer deleted the feature/inapp-popups branch October 20, 2026 08:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant